package com.lebang.feign.bus.fallback;

import com.lebang.feign.bus.MemberBussCollectRecordFeign;
import com.lebang.model.RequestUserInfo;
import com.lebangweb.response.JsonData;
import org.springframework.stereotype.Component;

import static com.lebang.feign.draw.CommonFallBack.FAIL_JSON;

@Component
public class MemberBussCollectRecordFallback implements MemberBussCollectRecordFeign {

    @Override
    public JsonData addRecord(RequestUserInfo userInfo, String cityId, String route, String routeId, String endStan, String routeNum) {
        return FAIL_JSON;
    }

    @Override
    public JsonData selectByCityId(RequestUserInfo userInfo, String cityId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData updateByCityId(RequestUserInfo userInfo, String cityId, String routeId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData top(RequestUserInfo userInfo, String cityId, String routeId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData changeLine(RequestUserInfo userInfo, String cityId, String routeId) {
        return FAIL_JSON;
    }

    @Override
    public JsonData cancelTop(RequestUserInfo userInfo, String cityId, String routeId) {
        return FAIL_JSON;
    }
}
